package cn.tedu.order.management.dao.persist.repository.impl;


import cn.tedu.order.management.dao.persist.mapper.CnmdAdd;
import cn.tedu.order.management.dao.persist.mapper.OrderItemMapper;
import cn.tedu.order.management.dao.persist.repository.IOrderItemRepository;
import cn.tedu.order.management.pojo.entity.OrderItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderItemRepositoryImpl implements IOrderItemRepository {

    @Autowired
    private CnmdAdd cnmdadd;


    @Override
    public int cnmdadd(OrderItem orderItem) {
        return cnmdadd.cnmdadd(orderItem);
    }
}
